home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_1199 / 1136 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.9 KB

  1. From: Stephen Usher <Stephen.Usher@earth.ox.ac.uk>
  2. Subject: Re: load average patches for MiNT 1.10 + patches
  3. Date: Fri, 4 Mar 1994 07:48:13 +0000 (GMT)
  4. In-Reply-To: <9403031751.AA00123@jelal.north.de> from "Juergen Lock" at Mar 3, 94 06:51:04 pm
  5. Mime-Version: 1.0
  6.  
  7. >
  8. >Stephen Usher writes:
  9. >
  10. >> Here's the latest version of my uptime and load average patch for MiNT. The
  11. >> patch is relative to version 1.10 with most of the patches from the last
  12. >> week added.
  13. >> 
  14. >> This version now uses the 200Hz interrupt for timing so should keep the
  15. >> correct time on any machine with whatever monitor. The patches affect dos.c,
  16. >> intr.spp and proc.c and adds loadave.h. I'm also including below definitions
  17. >> for mintbind.h.
  18. >
  19. > hmm.  i haven't tried but i would suggest just using the 200 Hz timer
  20. >counter (_hz_200) and doing calculations elsewhere...  because the 200 Hz
  21. >interrupt runs at level 6 and the longer you run at levels >= 5 (6) the
  22. >easier you lose characters on serial ports. (receiver overrun...)
  23.  
  24. The calculations are only done once per second, so the impact on the system
  25. is minimal. The calculations themselves are merely a few adds, subtracts and
  26. divides, all integer arithmetic, so not particularly slow to do.
  27.  
  28. > just a thought :)
  29. >    Juergen
  30. >
  31. >PS: same goes for evnt_timer, and the keyboard/mouse/midi interrupts, etc.
  32. >btw could this also be the cause for Thierrys modem1 devices problems?
  33. >i think it does a few things in etv_timer too...
  34. >-- 
  35. >J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
  36. >                                ...ohne Gewehr
  37. >PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA 
  38.  
  39. Steve
  40.  
  41. -- 
  42. ---------------------------------------------------------------------------
  43. Computer Systems Administrator, Dept. of Earth Sciences, Oxford University.
  44. E-Mail: steve@uk.ac.ox.earth (JANET) steve@earth.ox.ac.uk (Internet).
  45. Tel:- Oxford (0865) 282110 (UK) or +44 865 282110 (International).
  46.